class Dog:
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def bark(self):
        print(f"{self.name}在叫")


class SheepDog(dog):
    def __init__(self, name, age, count):
        super().__init__(name, age)
        self.count = count

    def sheep_count(self):
        print(f"牧羊的数量为：{self.count}")

